package io.sdl.common.sys.vo;


import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ConversationsVo {

    @SchemaProperty(name = "接收人id")
    private Long id;

    @SchemaProperty(name = "接收人角色")
    private String type;

    @SchemaProperty(name = "接收人姓名")
    private String name;

    @SchemaProperty(name = "接收人头像")
    private String avatar;

    @SchemaProperty(name = "最新消息")
    private String lastMessage;

    @SchemaProperty(name = "最新消息时间")
    private Date lastTime;

    @SchemaProperty(name = "未读消息数")
    private Integer unread;

}
